package com.coolxiaoyao.common.mapping;

import java.lang.reflect.Method;

/**
 * @author KerryZhang
 * URL
 */
public class UrlMapping {

    private Object controller;
    private Method method;
    private Class<?>[] paramTypes;

    public UrlMapping() {
    }

    public UrlMapping(Object controller, Method method, Class<?>[] paramTypes) {
        this.controller = controller;
        this.method = method;
        this.paramTypes = paramTypes;
    }

    public Object getController() {
        return controller;
    }

    public void setController(Object controller) {
        this.controller = controller;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Class<?>[] getParamTypes() {
        return paramTypes;
    }

    public void setParamTypes(Class<?>[] paramTypes) {
        this.paramTypes = paramTypes;
    }

}
